package com.ruoyi.merchant.mapper;

import java.util.List;
import com.ruoyi.merchant.domain.MerchantApplication;

/**
 * 商家入驻申请Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-21
 */
public interface MerchantApplicationMapper 
{
    /**
     * 查询商家入驻申请
     * 
     * @param applicationId 商家入驻申请主键
     * @return 商家入驻申请
     */
    public MerchantApplication selectMerchantApplicationByApplicationId(Long applicationId);

    /**
     * 查询商家入驻申请列表
     * 
     * @param merchantApplication 商家入驻申请
     * @return 商家入驻申请集合
     */
    public List<MerchantApplication> selectMerchantApplicationList(MerchantApplication merchantApplication);

    /**
     * 新增商家入驻申请
     * 
     * @param merchantApplication 商家入驻申请
     * @return 结果
     */
    public int insertMerchantApplication(MerchantApplication merchantApplication);

    /**
     * 修改商家入驻申请
     * 
     * @param merchantApplication 商家入驻申请
     * @return 结果
     */
    public int updateMerchantApplication(MerchantApplication merchantApplication);

    /**
     * 删除商家入驻申请
     * 
     * @param applicationId 商家入驻申请主键
     * @return 结果
     */
    public int deleteMerchantApplicationByApplicationId(Long applicationId);

    /**
     * 批量删除商家入驻申请
     * 
     * @param applicationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMerchantApplicationByApplicationIds(Long[] applicationIds);
}
